package info.nene_loveplus.controller.pub;

import info.nene_loveplus.service.BlogService;

import java.util.logging.Logger;

import org.slim3.controller.Navigation;

public class IndexController extends AbstractPubController {

	private BlogService blogService = new BlogService();

	private Logger logger = Logger.getLogger(IndexController.class.getName());

	@Override
	public Navigation doRun() throws Exception {
		logger.fine("index start");

		requestScope("list", blogService.list());
		requestScope("single", false);

		return forward("index.jsp");
	}
}
